package com.itheima.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author wangjiexin
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//这边要加一个注解和数据库进行映射
@TableName("app_user")
public class User {
    private long id;
    private String name;
    private String phone;
    private String image;
    private boolean sex;
    private boolean isIdentityAuthentication;
    private boolean status;
    private Integer flag;
    private Date createdTime;
}
